package top.v5it.japi.ddd.example.order.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import top.v5it.japi.ddd.example.order.proxy.ProductService;
import top.v5it.japi.ddd.example.order.proxy.impl.ProductServiceImpl;

/**
 * @author zhanpu
 * @date 2023/11/16
 */
@Configuration
public class FeignConfiguration {

    @Bean("productService")
    ProductService productService() {
        return new ProductServiceImpl();
    }
}
